<?php

extract(extractGet(), EXTR_PREFIX_ALL, 'b');
if(isset($b_board_id)){
    $board = R::load('board', $b_board_id);
    if($board->id == 0){
        jsonErrorDie("Board with provided id = " . $b_board_id. " does not exist.");
    }

    jsonSuccessDie("board", R::exportAll($board, true));
}
jsonErrorDie("Not all mandatory parameters set!");
